package com.ruoyi.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.admin.domain.entity.ReturnGoodsModel;
import com.ruoyi.admin.domain.vo.request.atricle.AtriclePageJoinRequest;
import com.ruoyi.admin.domain.vo.request.returnGood.ReturnGoodsJoinRequest;
import com.ruoyi.admin.domain.vo.response.atricle.AtriclePageJoinResponse;
import com.ruoyi.admin.domain.vo.response.returnGood.ReturnGoodsJoinResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 退货表(ReturnGoods) Mapper类
 *
 * @author jianhan
 * @date 2023-01-31 09:53:25
 */
@Mapper
public interface ReturnGoodsMapper extends BaseMapper<ReturnGoodsModel> {

    Page<ReturnGoodsJoinResponse> queryPage(IPage<ReturnGoodsJoinRequest> page, @Param("req") ReturnGoodsJoinRequest returnGoodsJoinRequest);

    Integer getReturnNumTotal();
}
